Optimal. Leaf size=203 \[ \frac{\sqrt{c} \sqrt{-a-b x^2} \text{EllipticF}\left (\tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right ),1-\frac{b c}{a d}\right )}{\sqrt{d} \sqrt{c+d x^2} \sqrt{\frac{c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}}+\frac{x \sqrt{-a-b x^2}}{\sqrt{c+d x^2}}-\frac{\sqrt{c} \sqrt{-a-b x^2} E\left (\tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )|1-\frac{b c}{a d}\right )}{\sqrt{d} \sqrt{c+d x^2} \sqrt{\frac{c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0886766, antiderivative size = 203, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {422, 418, 492, 411} \[ \frac{x \sqrt{-a-b x^2}}{\sqrt{c+d x^2}}+\frac{\sqrt{c} \sqrt{-a-b x^2} F\left (\tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )|1-\frac{b c}{a d}\right )}{\sqrt{d} \sqrt{c+d x^2} \sqrt{\frac{c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}}-\frac{\sqrt{c} \sqrt{-a-b x^2} E\left (\tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )|1-\frac{b c}{a d}\right )}{\sqrt{d} \sqrt{c+d x^2} \sqrt{\frac{c \left (a+b x^2\right )}{a \left (c+d x^2\right )}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 422
Rule 418
Rule 492
Rule 411
Rubi steps
\begin{align*} \int \frac{\sqrt{-a-b x^2}}{\sqrt{c+d x^2}} \, dx &=-\left (a \int \frac{1}{\sqrt{-a-b x^2} \sqrt{c+d x^2}} \, dx\right )-b \int \frac{x^2}{\sqrt{-a-b x^2} \sqrt{c+d x^2}} \, dx\\ &=\frac{x \sqrt{-a-b x^2}}{\sqrt{c+d x^2}}+\frac{\sqrt{c} \sqrt{-a-b x^2} F\left (\tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )|1-\frac{b c}{a d}\right )}{\sqrt{d} \sqrt{\frac{c \left (a+b x^2\right )}{a \left (c+d x^2\right )}} \sqrt{c+d x^2}}-c \int \frac{\sqrt{-a-b x^2}}{\left (c+d x^2\right )^{3/2}} \, dx\\ &=\frac{x \sqrt{-a-b x^2}}{\sqrt{c+d x^2}}-\frac{\sqrt{c} \sqrt{-a-b x^2} E\left (\tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )|1-\frac{b c}{a d}\right )}{\sqrt{d} \sqrt{\frac{c \left (a+b x^2\right )}{a \left (c+d x^2\right )}} \sqrt{c+d x^2}}+\frac{\sqrt{c} \sqrt{-a-b x^2} F\left (\tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )|1-\frac{b c}{a d}\right )}{\sqrt{d} \sqrt{\frac{c \left (a+b x^2\right )}{a \left (c+d x^2\right )}} \sqrt{c+d x^2}}\\ \end{align*}
Mathematica [A] time = 0.044747, size = 89, normalized size = 0.44 \[ \frac{\sqrt{-a-b x^2} \sqrt{\frac{c+d x^2}{c}} E\left (\sin ^{-1}\left (\sqrt{-\frac{d}{c}} x\right )|\frac{b c}{a d}\right )}{\sqrt{-\frac{d}{c}} \sqrt{\frac{a+b x^2}{a}} \sqrt{c+d x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.014, size = 104, normalized size = 0.5 \begin{align*}{\frac{a}{bd{x}^{4}+ad{x}^{2}+bc{x}^{2}+ac}\sqrt{-b{x}^{2}-a}\sqrt{d{x}^{2}+c}\sqrt{{\frac{d{x}^{2}+c}{c}}}\sqrt{{\frac{b{x}^{2}+a}{a}}}{\it EllipticE} \left ( x\sqrt{-{\frac{d}{c}}},\sqrt{{\frac{bc}{ad}}} \right ){\frac{1}{\sqrt{-{\frac{d}{c}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{-b x^{2} - a}}{\sqrt{d x^{2} + c}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{-b x^{2} - a}}{\sqrt{d x^{2} + c}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{- a - b x^{2}}}{\sqrt{c + d x^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{-b x^{2} - a}}{\sqrt{d x^{2} + c}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]